In most instances the NCB is valid for two years after the expiry of the last policy, although subject to confirmation of driving under another policy in the interim, some companies will accept up to threee years old NCB.
If you are talking about a few months then you should have no problems with any private car insurers on the market.
HTH
Edd