Sadly, the bond with the weapon is broken if the Warlock dies. Resurrection is over-priced, though. I keep my friendly local vengeance paladin paid up in advance for on the spot revivification. He also covers revivification for innocent bystanders killed by errant eldritch blasts, area spells...