Resonant space- and time-like pion form factor