Oh OP I'm in a similar situation, if you put your hand on your heart, do you think you should tolerate the shit he gives you. It's not on is it.
I know it's scary because things will be a little topsy turvy for a bit, but imagine your self esteem when you're not looking at the clock think, oh he's due home anytime now.
I would speak to a domestic abuse charity and see where you stand, also look at local housing associations, or ones close to family if you have a good relationship. Get your application in so you have a back up.
I can't remember if you mentioned any DC, but from what I'm aware if you're going for sole custody then it's him that should leave.
You know by now how the cycle works, he'll be all apologetic and sorry, then you have the walking on egg shells moment till he does it again.
You deserve better than that. You honestly do.
How are you feeling apart from shock? 