“Riding the lightning” has been a term used for getting tazed for quite some time now. And yes, we know the origin of the term.
If you don’t believe, check it out.
They’re probably saying that as a way of getting off, using a less-than-lethal means (which is still lethal for people with epilepsy and heart conditions) while still using a saying that has its history rooted in execution by the electric chair.