The starter will keep in the fridge for years as long as you keep it nourished, hydrated, healthy, and happy. Feed it at least once a week, even when you are not baking. And if you plan to go on a long vacation, you can freeze it in a freezer-safe bag so it is in a dormant state. Then, thaw and start feeding it again when you come back.