IBM has given some US-based H-1B visa and green card-holding employees three weeks to choose between relocating overseas and leaving the company.