Section 6. If a person, during the lifetime of a husband or wife with whom the marriage is in force, enters into a subsequent marriage contract with due legal ceremony and the parties thereto live together thereafter as husband and wife, and such subsequent marriage contract was entered into by one of the parties in good faith, in the full belief that the former husband or wife was dead, that the former marriage had been annulled by a divorce, or without knowledge of such former marriage, they shall, after the impediment to their marriage has been removed by the death or divorce of the other party to the former marriage, if they continue to live together as husband and wife in good faith on the part of one of them, be held to have been legally married from and after the removal of such impediment, and the issue of such subsequent marriage shall be considered as the legitimate issue of both parents.