Accounts (good and bad) fall off 10 years after they are closed. So if you have a CC for 10 years and close it, it will age up to 20 years and then go away. The FICO score like to know you have had credit for a long time, especially revolving credit.
This is why I am keeping an old gas card (which I can't use locally any more) alive and well by using it whenever I can, so it stays alive for as long as possible.
The slide from grace is really more like gliding
And I've found the trick is not to stop the sliding
But to find a graceful way of staying slid