As the property of husband and wife, real estate should be divided equally in principle, but the rights and interests of the wife and children should be properly taken care of.
If the man is serving a sentence on suspicion of committing a crime, the child will generally award it to the woman, which is more conducive to the healthy growth of the child. If the woman really can't raise the child, such as drug abuse and abuse, she can also be raised by her grandparents.