A marriage contracted by a person having a former husband or wife living, if the former marriage has not been annulled or dissolved, is illegal and void from the beginning unless such former husband or wife was absent and believed by such person to be dead for a period of five years immediately preceding such marriage.
N.D.C.C. § 14-03-06