How will a company layoff affect foreign national employees? The answer, of course, is that it depends.