At Amazon in particular they pay you the cash value of your stock for the first two years until it vests and you can start actually cashing it out. They have to since they have a maximum wage of ~$170K (varies a little depending on city).
However, you might need to pay back part of relocation money, if you leave before two years mark.