With recurrent major depressive disorders there are some guide line about chronic therapy with antidelressants. The question seems to me less clear in the case of recurrent anxious disorder.
Maintenance therapy (even for ever) on appropriate dose of antidepressants for e.g. PTSD or GAD is an alternative to keep a person functioning with an enhanced quality of life.