Every other NPC (enemies, horses... everything) will never drown (and I've tested it, and after around 5 minutes, the bandit was still living and not drowning).
What is the point of not being able to attack, when the player is in the water, if NPCs don't drown?
(I don't know if there are other topics on this)