it depends on the upgrade and the reason for that upgrade.
99.99% chance is that all the changes that are made to bitcoin will not concern the way key pairs work and it will remain backward compatible which means the keys you create in 2009, 2010,...2018,... will still work in 2025,...
but there is a tiny chance that some day in the future we find a weakness in ECC and decide we need to move to a new cryptography method for key pairs. in which case the old keys may become obsolete. but as i said this chance is nearly zero. but it is best to keep updated at least every year.