It is advised to choose the policy term enough to cover the risk of your loss of income. Therefore, you may either choose a policy term till your retirement age or a few years after the retirement.