Mass. Gen. Laws ch. 32, § 10
(2) Right to a Termination Retirement Allowance. — (a) Any member who retires under the provisions of this section, who has completed twenty or more years of creditable service and who fails of reappointment, or whose office or position is abolished, or is removed or discharged from his office or position without moral turpitude on his part, or who has completed thirty or more years of creditable service and whose resignation becomes effective before he attains age fifty-five, shall receive a normal yearly amount of retirement allowance which shall not be less than the sum of his annuity, which shall be the actuarial equivalent of his accumulated regular deductions at his attained age on the date the allowance becomes effective, and a pension equal to a sum of not less than one-third of his average annual rate of regular compensation received during any period of three consecutive years of creditable service for which such rate of compensation was the highest; provided, that such member has paid the full amount of regular deductions on the total income of regular compensation, including deductions specified in subdivision (3A) of section three and in paragraph (d) of subdivision (1) of section twenty-two. Any member of Group 1 or Group 2 or Group 4, who is a veteran as defined in section one, shall receive an additional yearly retirement allowance of fifteen dollars for each year of creditable service or fraction thereof; provided, however, that the total amount of said additional retirement allowance shall not exceed three hundred dollars in any case. The retirement board shall require the employer of any employee applying for a termination retirement allowance to certify in writing, under the pains and penalties of perjury, that:
(e) who resigns or voluntarily terminates the member's service, who leaves the member's accumulated total deductions in the annuity savings fund of the system of which the member is a member, shall have the right upon attaining the minimum retirement age for the member's Group, or at any time thereafter, to apply for a superannuation retirement allowance to become effective under subdivision (3).
Such allowance shall be determined under section 5 or any other section governing superannuation retirement applicable to such member upon the basis of the member's age on the date when the retirement allowance becomes effective, with an amount of creditable service equal to that with which the member was credited on the date of the member's termination of service.