Your security clearance is valid if you move between jobs.
However, if you do not hold a post that requires security clearance for 12 month or more your clearance lapses.
That's my understanding anyway.
Need to get my SC sorted as it's incredilbly valuable. I most cases, for contractors, you can't get it until you have a job and you can't get a job until you have it.