If you leave your job before retirement and you meet the two year vesting period, you will have deferred benefits in the LGPS.
For information on how your deferred benefits are calculated, please visit LGPS member site - Leaving before retirement.