In fact, research shows that children do better when parents can minimize conflict and cooperate on behalf of the kids. Considering the potential emotional consequences that children from divorced homes experience, you may want to find a counselor for your child to talk to throughout the process and for a year or so afterward.
https://www.verywellfamily.com/children-of-divorce-in-america-statistics-1270390