The Court has a statutory duty to consider the interests of the child(ren) as a priority. This can often mean that the parent with care ( usually but not necessarily the wife ) may get the right to live there until she remarries or the youngest child attains 18. So yes, it is a definite possibility.
But an immediate sale might be ordered even if there are children ; for example if the parent with care couldn't afford to live there even with such support as might be available ; or if the house was manifestly larger than
necessary for the needs of the PWC and any children; and so on.
Another possibility is that the PWC might be able to buy the other out.
No two cases are the same, all depends on the circumstances, but the over-riding objective is and remains to make sure the parties have a home.
there is not enough capitol in my FMH for me to buy another home in the same area for me and the kids and my sol told me to sell and rent a house, the stbx is already living with her new partner so her housing needs are met. i cant afford to buy her out, i cant afford the rents and i cant get a mortgage what can i do?