This is the distinction between permanent resident and temporary immigrant.
An immigrant is someone who moves to a country other than their own with the intention of residing there for a significant period (usually at least one year), regardless of their ultimate intention to stay permanently or leave later.
You can just look up the definition of the word immigrant.