Actually, better move: don't have kids. Keep it in your pants, until you've grown up enough to be a responsible adult, who can find another responsible adult to then marry and have kids with.
Too often, divorce (and the subsequent custody battles) results from two immature people who get married because they're "in love".....then realize, after a kid or two, that they can't stand each other.
That is incredibly naive.