Under Texas law, you must have lived in the State of Texas for at least six months before your divorce petition is filed, and either party must have been a resident of the county where the petition is being filed at least 90 days prior to filing.