I would say that we lose the fellowship of the Holy Spirit when we commit a mortal sin, and we regain it when we are absolved from that sin. I would not say that the Holy Spirit is like food or drink or clothing literally, as it is a supernatural presence.
IF... thinking lustfully is literally as bad as commiting lust.. what then is a mortal sin?.. or venal sin for that matter..