Quality factor is defined at resonance, when, inductive reactance is equal to the capacitive reactance.
It is defined as the ratio of voltage across the inductor or the capacitor and applied voltage or voltage across the resistor.
At resonance, impedance is equal to pure resistance, then, applied voltage and current are in phase.
Hence, the current is maximum.
Q=R1CL.
Q factor should be high.