as far as i'm aware, you can apply for FLR at anytime, as long as its before you current visa expires, as it's name states it's further leave to remain
while ILR You should not apply more than 4 weeks in advance of completing the relevant qualifying period for your application, 2 years for a spouse visa, 5 years for a workpermit ..