Do others in your neighborhood have short lives on water heater tanks? I am guessing that your city water is particularly corrosive.
When you say rusty, I am guessing you mean the tank leaks.
I would consider using a powered anode to prevent internal rust. While it costs more, you don't have to change out the anode, and can, in fact, move the anode to the next tank.