Because resonance occurs only when inductive effect is neutralised by capacitive effect. So we need both of them to observe resonance. In a resonant circuit, resistance is an unwanted thing which only consumes energy and rather dampens the effect of resonance.