Nevada state residency

Selling home in nevada where we are residents for 17 years moving to another state that has state tax. What’s the soonest i can sell my home in Nevada and claim residency for our 2024 taxes?