I physically moved to IL in Nov 2018 for a new job. I had income in TX (10.5 months) and IL (1.5 months). Home and family in TX until 2019. Am I a resident of IL in 2018?

Started job Nov 19, 2018 in IL. Family stayed in TX to sell our home.  I am living in AirBnB as we sell home in TX and buy home in IL.  We will own a home in IL in early 2019 but unsure if I am a resident of IL for 2018 tax purposes.