I believe it's expected that they'll need to pretty much turn off all of the instruments in the next 5 years, and after that it can run it's comms a bit longer but nothing else.
Edit: found an FAQ page from JPL about the Voyagers:
https://voyager.jpl.nasa.gov/frequently-asked-questions/
It looks like this year they need to start shutting down instruments more aggressively, expect to be able to run at least once instrument until 2025, and then there's a possibility of the voyagers staying contactable until 2036 with no instruments running.
To see one application of this information, look for discussions of the "Pioneer Anomaly". That particular effect is now understood, but had it held up to detailed systematic-effect analysis, it would have affected our understanding of gravitation on solar-system scales.
When one enters entirely new territory, the understanding derived from single reliable measurements can be quite substantial.
Since we know exactly what we're looking for and exactly where it should be, we have all kinds of neat radio tools to bring to bear on sampling a faint signal from interstellar noise.
Eventually, its power source will die out, its components will fail, or enough cosmic rays or debris will corrupt enough of its systems it can no longer transmit.
Given those factors, I do wonder what the expected lifetime of the probe is, with the power source being the most clear "game over" line.
It appears that both Voyagers are slated to have some experiments disabled soon (2020 and 2021) to best use remaining power from the RTGs, but since the RTGs are nuclear sources, the decay rate is independent of power draw (it's more an issue of switching off the experiments to avoid peak draw killing the ship).
Voy1's expected to lose too much wattage to turn on the radio by 2025; I can't find a quick number for Voy2.
EDIT: It appears Voy2's power package was expected to allow mission operation through 2020, so sayeth Wikipedia; no idea if that implies the radio was expected to die this year or this was the year the craft would need to be reconfigured for a scaled-back mission profile to maintain enough power for attitude control and radio transmission.
If the probes still had enough power by then, the current DSN would be able to receive data until the mid-2030's.