Is 外地人 a derogatory word?
Like what they said, 外地人 is a neutral word. But I think the meaning has changed, especially in Beijing, Shanghai, Guangzhou where the economic level is higher than other cities. The natives whose father or grandfather or great-grandfather lived there don't like people from other place. So if you are from other place, and you talk with someone who are from other places too, it is ok to say the word. But if you are from Shanghai, but the one you are talking to is not, it is better for you not to say the word.