This mod will allow you to revive "accidentally" killed NPCs, but there is a certain chance of respawning, which depends on the severity of the incident.
Installation:
Move the files from the archive to the scripts folder.
To resurrect, press U. You can change the button in the CRP.ini file