Notwithstanding any other provisions of the retirement law or rulings of the retirement board in accordance with the powers vested to the board, no member of the retirement system shall be allowed to purchase service credits for time while incarcerated in prison, including, but not limited to, work release programs or home confinement programs.
R.I. Gen. Laws § 36-9-37