Water does not significantly absorb most UV. Moreover, if UV were responsible for a shorter human lifespan, people who spend most of their time indoors would tend to live much longer, wouldn't they?
It's pretty interesting to consider how and what could have increased the life span of Man. It could just boil down that God willed it.
But honestly, we're warned to stay out of the sun now and wear UV protection.