Moving out of your State

If you move out of your state, do you have a good reason and does your state know you are planning to move – do you need to tell them or do you just move?