Must think about your child when getting divorced