I don't know what the full-charge voltage is in a 580EX, but like Jeremy I suspect it's 300-400 volts. In any case, the way to discharge it is to turn it on, let it charge fully, turn it off and then hit the manual flash button on full power. This will discharge the capacitor to the sustained-arc threshold of the flash tube. That's probably around 100 volts. (It takes about 50% more voltage to initiate an arc in a gas tube than to sustain it.)
Then you discharge it with a screwdriver after it's open.
-js



