Quantum Resonances: Theory and Models