A newly elected Green MSP is only able to live in the UK on a temporary student visa which expires later this year.