Banning death might sound like a legal impossibility, but a handful of towns across the world have attempted to do just that.