In 2018 my step daughter was waiting for her green card. She did not get her green card till 2019. Was she considered a legal resident in 2018?