And they will be good for as long as you care maintain this self-hosted infrastructure. Or perhaps the end will come earlier, because yourls is end-of-life-ing and a security relevant bugfix is not coming.
The *ONLY* way to increase the probability that your reference to another site survives, is actually that you don't use URL shorteners. And quote the relevant pieces of the references source, since even original URLs on average die pretty fast.