Jurisprudence under the Civil Code states that no judicial decree is necessary in order to establish the nullity of a marriage. “A void marriage does not require a judicial decree to restore the parties to their original rights or to make the marriage void but though no sentence of avoidance be absolutely necessary, yet as well for the sake of good order of society as for the peace of mind of all concerned, it is expedient that the nullity of the marriage should be ascertained and declared by the decree of a court of competent jurisdiction.” “Under ordinary circumstances, the effect of a void marriage, so far as concerns the conferring of legal rights upon the parties, is as though no marriage had ever taken place. And therefore, being good for no legal purpose, its invalidity can be maintained in any proceeding in which the fact of marriage may be material, either direct or collateral, in any civil court between any parties at any time, whether before or after the death of either or both the husband and the wife, and upon mere proof of the facts rendering such marriage void, it will be disregarded or treated as non-existent by the courts.” It is not like a voidable marriage which cannot be collaterally attacked except in direct proceeding instituted during the lifetime of the parties so that on the death of either, the marriage cannot be impeached, and is made good ab initio. But Article 40 of the Family Code expressly provides that there must be a judicial declaration of the nullity of a previous marriage, though void, before a party can enter into a second marriage and such absolute nullity can be based only on a final judgment to that effect. For the same reason, the law makes either the action or defense for the declaration of absolute nullity of marriage imprescriptible. Corollarily, if the death of either party would extinguish the cause of action or the ground for defense, then the same cannot be considered imprescriptible. Jurisä
However, other than for purposes of remarriage, no judicial action is necessary to declare a marriage an absolute nullity. For other purposes, such as but not limited to determination of heirship, legitimacy or illegitimacy of a child, settlement of estate, dissolution of property regime, or a criminal case for that matter, the court may pass upon the validity of marriage even in a suit not directly instituted to question the same so long as it is essential to the determination of the case. This is without prejudice to any issue that may arise in the case. When such need arises, a final judgment of declaration of nullity is necessary even if the purpose is other than to remarry. The clause “on the basis of a final judgment declaring such previous marriage void” in Article 40 of the Family Code connotes that such final judgment need not be obtained only for purpose of remarriage.