I wasn't married so I left with nothing. Two kids and a rucksack and debts in fact.
HOWEVER, as soon as the children were old enough to work (I could only command enough money to make working a sensible venture when childcare wasn't an issue) I had become devalued in the workplace. I was a mum returner (one recruitment agent called me).
I had more experience than a 22 year old but I wasn't valued as an employee with no experience in the same way that a 22 year old would be because I wasn't YOUNG.
I realised that a lot of the jobs I'd been offered when I was younger weren't offered to me because of the little bits of experience I'd had along the way, but because I was YOUNG.
This is not so relevant for women who have a recognised profession. But that's not the majority. (Maybe on mumsnet?! but not in the real world).
I have a job now and it is secure and I"m grateful for it. But I basically only started contributing back in a pension of my OWN at 47. I had been job hunting for something suitable that would work around my kids for a good 3 years before that really. Few hits and misses before I found a good employer.
I think it's a risk to be a SAHM even if you're married.
Unless you're married to a millionaire and even then, those guys often equate money with power and get a good lawyer to shaft you and then you have to relocate, start again, co-parent without maintenance and you're looking for a job that works around having the children half of the time.