How to claim your benefits at resignation or retirement