The population count used after each decennial census for the purpose of creating the legislative districting plan for the General Assembly:
(1) may not include individuals who:
(i) were incarcerated in State or federal correctional facilities, as determined by the decennial census; and
(ii) were not residents of the State before their incarceration; and
(2) shall count individuals incarcerated in the State or federal correctional facilities, as determined by the decennial census, at their last known residence before incarceration if the individuals were residents of the State.