I think you'll find the data supports chidren benefiting from a happy loving home. Not from the concern of the parents relationships with others.
My childhood friends were mostly from divorced parents and it very much impacted them all in negative ways. Parents are security blankets for children. It's who they run to when scared and need love. They are dependent on them survival. Ripping that apart causes harm.