There is no legal standard indicating which spouse keeps the marital home, but if you and your spouse cannot agree, the court will make that decision after taking certain factors into account. For example, if you will have primary custody of the children, a judge may conclude that it is in their best interests to stay in familiar surroundings and award the home to you while giving your spouse marital property of comparable value.