You may want to seek counseling first. Then if you still have irreconcilable differences speak with an attorney. The courts probably won't care as much about your reasons for divorce when considering custody of the kids. The Courts will focus on the best interest of the children.
Sign up to receive a 10-part series of useful information and legal advice about the divorce process.