up to 6 months before expiration. But also ok to let it expire if you don't need to travel out-of-US or change job. You can apply for it later when you need a physical card. Long wait, but should be fine if you have not violated things that can hurt your LPR