A purely L2 method for calculating resonance widths