Most credits do not expire. Some courses that pertain to health sciences or use specific technologies may expire as information/industry changes.
If you are transferring, your new institution may have a timeframe of how far back they will accept credits. Please contact that institution or review their catalog for details.