Once you have accrued five years of credited service, you are vested. This means you have earned the right to receive a retirement benefit, even if you leave public employment.
Vesting is automatic; you don’t need to fill out any paperwork or file an application to become vested.