The house is not only wives but husbands too, the children are not only mothers, fathers too.
The house is not only of wives but husbands too, the children are not only of mothers, fathers too.
In the given context, the correct way of saying this would be:
The house is not only the wife's house, but also the husband's house too. The children are not only the wife's children, but the husband's children too.
Which would imply that the house and the children don't only belong to the wife, but also belong to the husband, housework doesn't only involve the wife but also the husband, taking care of the children isn't only the wife's job, but the husband's too.
Neither of the sentences mentioned in the question itself are correct. They both have errors which make the sentence make no sense.