I do not believe that marrying good people is sufficient to make divorce laws irrelevant
I'm talking on a personal level, not social. In the same way I would suggest that you not rob anyone and if you follow that suggestion, laws about robbery will be irrelevant to you (insert the usual disclaimers).
Yes, I understood that you meant individuals rather than society as a whole. And I am suggesting that a policy of only marrying good people is not sufficient to keep a person from having to care about divorce laws. Unless e.g. you define "good" in such a way as to imply "would never get divorced" or "would, if getting divorced, never have interests that sharply diverge from their ex-spouse's" or something, which I would think highly unreasonable and which would make it even more impossible to be sure of not marrying someone no...
Speaking from personal experience, finding the right relationship can be HARD. I recently came across a rational take on finding relationship partners, much of which really resonated with my experiences:
http://waitbutwhy.com/2014/02/pick-life-partner.html
http://waitbutwhy.com/2014/02/pick-life-partner-part-2.html
(I'm still working my way through the Sequences, and lw has more than eight thousand articles with "relationship" in them. I'm not promising the linked articles include unique information)