Still there's no denying it's a complete shithouse situation to go through. Better not even be in it if you don't intend to stay in it.
That is only a vague overview. A good lawyer will shoot holes all through this. Most people like you think it is black and white but family law is very complicated.