In accordance with UK law, your car needs to be insured all the time - even while parked. That's unless you keep it off the road and make a SORN (Statutory Off Road Notification).
Find out more here:
With a By Miles policy, if you don't drive, you won't pay a penny that month. Your car is already covered by your upfront fixed cost while it's parked.