There is already "Resurrection sickness". But in 10-15 minutes full HP attackers can return and attack/steal again while civilians have to defend themselves not having enough time to regenerate.
Add respawn time depending on alignment.
if your alignment from -5 to 5 you will have to wait 10 minutes
every alignment point above 5 decreases respawn time by 11 seconds (instant resurrection with 50+ alignment)
every point below -5 increases respawn time by 55 seconds (1 hour if alignment -50 or lower)
This will give time for healing and crafting before the attackers come back.
I'd like to see it in the game. Alignment was implemented to prevent killing everything at sight, but currently nobody cares about alignment. This suggestion will cause the alignment system to work properly.