States may cut aid to local governments during recessions, and cities still have to balance their budgets, Ms. Murphy said. Many cities don’t lock away money in formal rainy-day funds, but they commonly set aside excess revenue as reserves. The amounts vary widely, though the Government Finance Officers Association maintains that enough money to cover two months of a city’s annual general-fund budget is a good benchmark.