will GC application is valid even after changing employer?

My employer is filing GC for me(I am on h1b) .Will my application still be valid in case I change employer? or do i have to be with same employer until I get GC?Please help