The other option is if you have a Graveyard, you can store the body after they die, then reanimate them as a zombie using the Altar. This tends to be a bit expensive in the beginning, but it's a good alternative to just having them die & not being able to use them as servants when a capture fails.
Of course you have a couple other options you can do with corpses if you are running low on resources. You can scrap them for meat, as well as sell the corpses on if you have the Trade Market placed in your dungeon.