Unless you clear your location history, the locations stored for your Yahoo! account using the Location Selector on the Location Management Page. are maintained as long as your Yahoo! account remains active. The locations stored when you are signed out are set to expire if you do not select them during a 90-day period.
Click here to see Yahoo!'s privacy policy regarding the Location Selector and the Location Management Page.