Not going to do it any harm but if it's going to be that long I'd concider not only shuting it off but draining it.
My concern is bacterier building up inside the tank sitting that long.
Just make sure to leave a note for yourself so you do not turn it on without refilling with water.
A forum community dedicated to Do it yourself-ers and home improvement enthusiasts. Come join the discussion about tools, projects, builds, styles, scales, reviews, accessories, classifieds, and more! Helping You to Do It Yourself!