You can’t get divorced, if you don’t get married in the first place.
I think that the stigma of premarital sex and having babies out of wedlock has declined so much that marriage is now for people who are religious or otherwise serious and therefore more likely to marry well and to work problems out in order to avoid divorce.