At one time, research suggested that parents who had their children before getting married were more likely to get divorced. A more recent study shows that trend is no longer accurate:
http://www.livescience.com/52215-divorce-risk-premarital-children.html
https://contemporaryfamilies.org/marriage_timing_doesnt_matter/