Yes turn your water heater off and shut the water down to the whole house if you're gonna be gone a month or longer.
I went on vacation for a month before and came back to a huge water leak under my house and huge water bill as well.
It's better to have the water shut off instead of coming back home to a flooded house from a leaky water pipe or even a burst water heater.