After each version of Ubuntu has reached its end-of-life time, its repositories are removed from the main Ubuntu servers and consequently the mirrors.[365] Older versions of Ubuntu repositories and releases can be found on the old Ubuntu releases website.[366][367]
From the wikipedia page https://en.wikipedia.org/wiki/Ubuntu_version_history#Version_end_of_life
Do older Ubuntu releases completely lose access after EOL?