First of all, you should involve a third party or a mediator for resolving the matters of custody of children and the division of joint property. Take an appointment from the mediator and you both should go to him for consultation at the appointed time.
Make sure you both follow the rules and regulations that deal with the division of property matters and custody of kids.
If possible, plan with mutual understanding that who will remain with kids on holidays and who will keep kids in his or her custody for the rest of the week.
Make sure you are agreed on things that should be avoided in order to keep the matters smooth with the children.
Divide the property by following the rules and regulations which will help them avoid filing case against each other in the court.
Do not say anything disapproving for your spouse which can make the matters worst. Always try to avoid anything that can cause trouble for you and your children after the divorce.
Make sure you do not discuss anything like dating of your spouse with someone else because both of you are free to do anything you want.
You should realise that your post-divorce relationship has changed and that your ex-spouse is no more than a friend. Treat your ex-spouse like you do with all of your friends which will make the matters light and it will also help in staying in good terms with your ex-spouse after divorce.