How do i know when i became a resident of texas

We moved to Texas but I work in Ohio. When did I become a resident of Texas? Was it the data I purchased my home?