sandeepM said:
Its like a company saying, I will give you a job if you sign a contract for staying here for say 10 years...
will any court agree with the company on that?
It's not just "giving a job", but bringing an alien to USA thru GC process and then giving a job. Now, this GC process is not cheap. When employers spends some money for that process, it's fair for employer to expect that the concerned employee will work for that company for "certain period of time". Or, if the employee does not work that period then he/she has to return "certain amount of the GC process expense". Now, if the "certain period of time" is too long (like you said, 10 years) or the "certain amount" is too much (much greater than the actual processing expense) then the employee can argue about it (and go to court). So for this kind of situation you can argue about content of the contract or the fairness of that content, but the contract itself is not invalid.
For example, one of my close friends who got her GC thru one of the big company in bay area, she had following condition in her offer letter:
The company is willing to sponsor her GC on the condition that she will serve the company for certain period. Otherwise, after GC processing starts, if she leaves she has to return certain amount to company (paid by company at that point for GC process).
If she leaves before 1 year after joining, she has to return full expense.
If she leaves between 1-1.5 year, she has to return half of the expense.
If she leave between 1.5-2 year after joining she has to return one fourth.
After 2 years she does not need to return anything.
Now, her GC processing took more than 2 years after she joined that company.
Was that condition fair. I guess so.