@WineNeededPlease I am 30 years on from where you are.
I got a job (that was a good first step because it meant that nursery / childcare arrangements were already in place and that the costs were established which helped all the financial assesments). I may have got more maintenance if I'd not been working but I'd also have been more beholden to ex and I know he would have used that against me.
I left our beautiful home in a lovely place and moved into a rented flat. It was hard, especially moving away from friends, but it was close to beautiful (free) botanic gardens and a huge park, and my dc both have really fond memories of all the time we spent at those places, we still go to visit. They are good memories not bad ones.
Two years later I had the money for a deposit and bought my own place. I was in heaven. It was very different from my former family house, but it was just right for me. I felt like I had refound myself, my purpose, my confidence. I could also give my dc the genuine warmth of a home that was filled with love. I could give them the role model of a parent who was content and stable and pricipled.
Much later I met my 2nd dh, and my dc love him and have a great relationship with him. He is a fantastic grandad to my dc's dc.
Meanwhile ex goes from relationship to relationship, ever younger women. None of them last. Dc love him and see him but there is a lot of eye-rolling at his behaviour.
One of my adult dc's (who is a parent) recently went through a breakup with their partner. It was sad but my dc said their childhood experience had shown them that 'a broken home' didn't have to be a lesser home or something that would ruin a child's life. And they thanked me for giving them that. It moved me to tears. You had a different experience, but you can break that cycle and provide the best for the children whom you love.
You are in a whirlwind of emotions, which is understandable. But you need to get practical. Get a job sorted out (if that's what you want). Get your finances in a row. Get a full understanding and copies of documents relating to your joint finances. Look at what homes might be possible under differing financial scenarios. Get planning. And get dreaming - of a life where you are loved and respected by your children, your friends and everyone that you choose to be in a relationship with (family friends etc).