EDIT: I realized you might be meaning -- if you don't let the struggle of parent-hood tear apart your relationship with your spouse, you're doing a good job. In which case I agree 100%.
I see more cooperative parents (whether they're living together or not) than un-cooperative ones. Married or not. It's just a title to a lot of these people.
Also, if that's what the child grew up with, it's probably less likely to affect them negatively (assuming all positives everywhere else).
Mummy and Daddy are the most basic, rock-solid concepts for a child, and a divorce can't be anything but world-redefining for any child not yet old enough to have an understanding of the complexities of human relationships.
Yes, this does depend on the "showing up"-ness of each parent.
My kids are strongly attached to their mother. She's the primary go-to, but if I'm away for work, or late home for whatever reason, they're surprisingly happy and comforted when I return home.
If we got divorced, the kids would be shattered and it would affect them forever. The scale depends on their resilience, but they would be changed for the worse in the immediate. Future-wise, maybe it would better prepare them for the challenges of life and instill them with some kind of resilience, but I think there would be a part of them permanently broken.
It's all shades of grey though, it all depends on the healthiness of the parents relationship. A divorce can be a better option for kids if the parents' relationship is unhealthy.
--- BGN --- I was one of those few children that got to grow up in the world with a daddy. Now, the world is full of fathers. But there are very few men worthy of being called daddy by their child. I had a daddy; loved his children more than he loved life itself. Steven Spielberg told Barbara Walters the more I've researched Frank's youth, without having met Frank, I couldn't help but put his father in the film through the likes of Christopher Walken.
My father was a man who had four children---three boys and a daughter. Every night at bedtime, he'd walk into your room. He was 6'3". He would drop down on one knee, kiss you on the cheek, pull the cover up, and he'd put his lip up on your earlobe. And he'd whisper deep into your ear, "I love you. I love you very much."
He never, ever, missed a night.
As I grew older, I sometimes fell asleep before he got home. But I always woke up the next morning, knew he had been at my bedside.
Years later, my older brother joined me in my room, temporarily; he was in the Marine Corps. He was 6'4". He played semi-pro football for Buffalo. But my father would walk around to his bed, hug him, kiss him, whisper in his hear he loved him.
When I was 16 years old, I was just a child. All 16 year olds are just children. Much as we'd like them to be adults, they're just children. And like all children, they need their mother, and they need their father. All children need their mother and father. All children are entitled to their mother, and their father. And though it is not popular to say so, divorce is a very devastating thing for a child to deal with, and then have to deal with the rest of their natural life.
For me, a complete stranger, a judge, told me I had to choose one parent over the other. That was a choice a 16 year old boy could not make. So I ran. How could I tell you my life was glamorous? I cried myself to sleep 'til I was 19 years old. I spent every birthday, Christmas, Mother's Day, Father's Day in a hotel room somewhere in the world where people didn't speak my language. --- END ---
[1] https://www.youtube.com/watch?v=vsMydMDi3rI&feature=youtu.be...