You are eligible for a vested retirement benefit if you leave public employment before age 55 and you have five or more years of credited service. This means that when you reach age 55, you will be entitled to a retirement benefit based on your service and your earnings when you were an active member.