Both parties will still own the property in a Mesher Order unless specified in a prenuptial or postnuptial agreement, but usually, just one party (the primary caregiver to the children) will continue living there. In some cases, both parties will continue living there.
It may be decided in the Mesher Order that the property title is transferred to one party, while the other party will receive a percentage of the sale proceeds.