If the water was turned off and the pipes drained, when you restored the water to the pipes, the air would be expelled from the pipes. It would spit and cough from the fixtures until the water had displaced all of the air, but it would not take very long to do this. If this is an ongoing problem then there's something else, but I don't have any ideas about what that could be.