I frequently have this experience when I return home after a few days away. I put it down to the fact that home is very quiet and can be very dark so when I sort of half wake up there is no sound or visual reference to home in on. It can be quite frightening for a few seconds.