Do any of your state/county/city AHJs legally define what constitutes "living in" or "occupying" a property?

Clearly you are legally entitled to be physically present on your own land or in your own building. Where does that cross the border into occupancy? If you sit down in your unfinished building with a take-out from Taco Bell or wherever are you occupying it? What if you bring your sleeping bag and spend the night there?

If you start moving in furniture and storing it in an unfinished home, are you, yourself, occupying the building?

It seems to me that it would be quite hard to define the boundary here.