First, I think the cable would snap under it’s own weight. If you could somehow stretch a cable into space you may have just invented the worlds biggest lightning rod.
Uh, lightning is only generated within the earth atmosphere.
You know, storms, clouds, all that?