On or after June fifth, one thousand nine hundred and thirty-six, if any person then a member, or thereafter or hereafter becoming a member of such pension corporation, having paid into such fund, shall die not having served five years as an employee or officer, or shall resign voluntarily or be dismissed from service or is transferred outside the jurisdiction of the fund, all dues paid by such person shall be refunded to him or her without interest.
N.J.S. § 43:18-13