Laid off after one month of my I-140 approval. Will my priority date remain the same

Hi,
I finished my first year on H1b and I got my I140 approved in may and I got laid off in june.
Lets say I moved to company called B from company A(where I got laid off) and if B didn’t apply PERM and I-140 for an year and then I move to company C and if C applies for PERM and I 140 will I be able to retain my priority date I had with company A.

How do you got I140 approved in one year. ??