Most modern water heaters will last anywhere from ten to twenty years. You can help prolong this by draining the boiler every year or so, just before the winter.
There are many things that can change how long a body can go without water. For example someone in extreme heat cannot last as long as someone in lower temperatures. Someone with food high in water...