Your contact hours, wherever you attain them, should never expire. You can use them to apply for the PMP exam at any time, so long as they were attained before application.