Depends. There are ways you could drain the water, but I think a more practical answer would be that a lot of smaller places and villages in rainier areas like to build their houses on ‘stilts.’ It rises the houses up enough so water doesn’t get inside, and they’re strong enough to not collapse.