I used to work as a family law solicitor. You need to take legal advice- nobody on a forum can tell you the answer. Look on www.resolution.org.uk for a specialist solicitor. Presume you are in England and Wales. Some will do initial fixed fee or maybe even free appointment.
To clear up confusion as to what was said on here- no there is definitely no right for the primary carer to remain in the family home. Often, it is the only option because downsizing is not possible either because a suitable property costs the same as the family home or there is not enough equity on sale to buy another home. However, where there is enough money for the primary carer to downsize and she would not be able to take on the mortgage on her own, I would normally expect the court to order a sale and division of proceeds. Doesn't happen in every case- the key in English law is that it gives the court a wide discretion governed by the overarching principle of fairness. I know- clear as mud, but that is why you need legal advice.
Spousal maintenance is possible, but again discretionary and courts are becoming less keen on long-term maintenance orders. It is certainly the norm now to expect the primary carer to get back to work asap and realise an earning potential. Again, depends on the case and nobody on an internet forum can give you specific advice.
You will be entitled to child maintenance if the children live with you- someone has linked to the calculator above. This is separate from spousal maintenance.
When you see the solicitor, try to have an idea roughly of asset value- ie check house estimate price, amount left on mortgage, monthly outgoings, any debts, any savings, pensions, annual bonuses etc? That way, any advice can be much more specific and tailored to your precise circumstances.