We’ve covered the topic of how long Google wants you to keep 301 redirects in place here numerous times. John Mueller was asked the question again and this time he said “After a few years the old URLs are often no longer accessed & you can drop those redirects.”