Parents need to keep a working relationship between them. They should not however, let that relationship be confusing to the children. They should be polite and respectful in their dealings but not overfriendly or affectional. The way a parent reacts to divorce can also greatly influence their child's future feelings. Parent's are role models.
Children often follow in a parent's footsteps.
When a parent keeps a healthy attitude this will give a child better odds. Don't let the statistics haunt you and your children. You as a parent, have the power to help give your child the best odds. Help your child understnand and come to term with divorce. That is the first step for a better relationship in the future.