I think it is when you have under six months remaining before expiry. Why don't you check with your embassy?