A resident alien is one who is permanently staying in a country for a long period of time for employment, education and other purposes. A non-resident alien is one who is just visiting the country.
Do you mean "legal" and "illegal" alien? Then, if so an "illegal" alien is someone who is not legally a US citizen and is living in the US without the government's permission.