Here are my findings:
-set the effect from "CastSpell: Raise Dead" to "Raise Dead"
-increase the range to 30 (although I am not really sure this changes anything.)
-change the target to Dead Character (or whatever it is called)
With this, the Raise Dead scroll can be used at the place the NPC died. The NPC will be recreated near the PC (also, if the PC is further away - I did not check what happens if the PC is in another area).
Save and reload breaks this!! - After a reload, the scroll cannot be used to raise the dead party member (it remains blacked out, spell cannot be cast). - No idea what causes this.
If the range is too far, i.e. if the Raise Dead scroll is tried to be used too far away from the place the death has taken effect, the spell will not be executed. So, the scroll will not be wasted, at least.
Increasing the range to enable raising from further away did not work.