I think that our culture, and it is just my opinion, does not support families staying together, support the idea of for better or worse and dealing with whatever life send our way. You, sir are a knight in shining armour to still want your wife and family. When you are feeling better, physically, can you see your way to look at this situation as friends, thinking of what is best for each other, trusting each other even when it doesn't seem right.
I am hearing you say that the divorce is coming vs a separation? Is that correct? I thought a separation was a possibility for awhile.
Keep doing what you are doing. Remember you are friends, have been lovers, and are parents. You love her, she cares about you and the family, believe in whatever it takes right now.