If I work for a large company and later resign And when applying to work with a new company, you will be able to demand a higher salary because you have an excellent previous work history with a large company.
If I work for a large company and then resign, If you apply for a new company, you will be able to receive a higher salary because you have a good performance record in a large company before.
If I work in a big company and then resign and apply for a job in a new company, then I can get a higher salary, because I used to have a good work record in a big company.