I don't have much to add to what others have already said. I will suggest that you be careful about being the one to move out of the home. I did that for pretty much the same reasons you have given, and I now regret it. Be careful if you think any magnanimous gesture on your part is going to win you any brownie points with your WAW -- it won't. They will find some way to use it against you if they can, or belittle it if they cannot.
And the kids seem to be too broken up over the S or D of their parents right now to even be worried about who moved out first.
I had the best of intentions when I volunteered to move out of our home (my now xW had even signed the lease to her intended apartment already before I went to her and offered to be the one to move out instead.) But in the end it did neither me or my sons any real good.
And xW has even taken the opportunity to rub that in my face, adding insult to injury.
I also want to say how sad I am that your M has come to this. There are few people I know who fight so hard for marriage and thus deserve to have total success in saving their own.