Depends...
...does it not on your local rules - which may be driven by insurance requirements.
For example - my current club you must fly at least every 60 days to keep current (which was the same as my last club, although I have heard of other places with a 28 day rule).
This is of course a side from the requirement to complete 3 landings within 90 days of taking passengers (and the 12 hours in the year leading up to your licence renewal date of which 6 should be P1 and 1 should be with an instructor).
I'm sure someone else will give a better answer - I'm knackered as I write this!