For most kids, they inherit a lot more from their parents than money and belongings, they inherit an outlook on life and priorities that only parents can give them.
My advice is to stay together, not only for the kids, but for their kids.