As an actor you have to have a strong vivid imagination as you're working and when the camera's rolling, but there's certainly a part of you that is aware of real life, that you're making a movie.
In the past I have never thought about loneliness when working, and I don't think about it now. Yet there must be a reason for the fact that so many people talk about it.