I truly wonder...with so many people involved in these types of shows, and with many of those people presumably being comic book fans, fans of those specific characters, or both...did NOONE see that scene on the script and go, "WTF? How the hell is she going to be killed by electricity?"
If the overarching plan was to kill her in order to resurrect her later on, at least kill her in a sensical way. I mean...couldn't they just come up with some sort of magical artifact that could kill godly beings or whatever? This show is indeed hot garbage.