Warmth and brine causes rusting. If you have a car crusted up with salt and leave it outside in 5'F weather it'll rust more slowly than in a garage that retains heat near freezing temps.I'm not sure exactly what you meant but keeping it in the garage wont keep it from rusting. It is better however than leaving it outside to get rained on.
Garaging is a strategy to consider along with your local climate and personal usage.