Stop in for a cup of coffee

Is that in reference to a period of time or a state of mind?
Both lol