2A:67-31. Reimprisonment for same cause of person discharged upon writ; exceptions
No person who has been discharged by the order of such court or judge upon a writ of habeas corpus issued pursuant to the provisions of this chapter shall again be imprisoned, restrained or kept in custody for the same cause, but it shall not be deemed the same cause:
a. If he shall have been discharged from a commitment on a criminal charge and is afterwards committed for the same offense by the legal order or process of the court wherein he shall be bound by recognizance to appear or in which he shall be indicted or convicted for the same offense; or,
b. If after a discharge for defect of proof or for any material defect in the commitment, in a criminal case, the prisoner is again arrested on sufficient proof, and committed by legal process for the same offense; or,
c. If, in a civil action, the party has been discharged for any illegality in the judgment or process hereinbefore specified, and is afterwards imprisoned by legal process for the same cause of action; or,
d. If, in a civil action, he shall have been discharged from commitment on mesne process and shall afterwards be committed on execution in the same cause or on mesne process in any other cause, after such first suit shall have been discontinued.
L.1951 (1st SS), c.344.