I have got to disagree with the parents being better off under the same roof, even at that age. Especially in such a toxic disrespectful situation. Moving out is more healthy for you and the kids where relationships can be fostered properly with the children and without contention.

My ex was out the day he blindsided me with want a divorce. Our daughter was 6 months old. Growing up in 2 homes is not ideal and has it's battles, but is by far healthier than trying to heal and establish a life without being a married couple. Your individual relationships can be established and nurtured without the stress hanging over your head. I think my parenting would have suffered watching my ex leave to go be with his mistress and then having him come home to us.

A healthy self leads to being a healthier parent, and I can't imagine how difficult it is in that environment, especially one where you have to hide in a bedroom.