Gina -- if you want to grow them as ornamentals you can probably go more years than if you want them to produce fruit. I'll leave it to others with more experience to answer about how many years you can really get by with for different cultivars, but the recommendations I've seen suggest root pruning and soil replacement every three years if you want to keep fruit production up.
As for me, I'm in a cold climate and went from inground (with burial & exhumation every year) to doing containers now. My hope however is still that I'll find a fig cultivar that really will do OK in zone 5, in ground, without burying, and still produce figs. That's why I got Hardy Chicago recently (the hope of that scenario). But in another of these threads, it sounds like Marseilles Black VS and maybe Sal's also might be better than Hardy Chicago in the cold.
Though I'm rather new to containerized fig growing (just 2 years of that after around 40 of inground), I've figured out that containerized fig growing is a bit like the art of bonsai... just bigger than most bonsai. I'm still asking myself what I've signed myself up for! I thought it'd be less work than all the burying and exhuming of trees every year! (Not clear that that's true... though it does at least seem like less strain on my back).
Mike central NY state, zone 5