Can someone please explain the final scene to me of this past weeks episode?

Was Kim dreaming and asleep at the wheel?