First, I will point out a a couple of other scriptures for reference:
Genesis 18: 22 And the men turned their faces from thence, and went toward Sodom:
but Abraham stood yet before the Lord.
Numbers 27:5
5 And Moses brought their cause
before the LORD.
Now for the Job passages:
Job 1:6 Now there was a day when the sons of God came to present themselves
before the Lord, and Satan came also among them.
Job 2:1 Again there was a day when the sons of God came to present themselves
before the Lord, and Satan came also among them to present himself before the Lord.
Some teach that this "before the Lord" encounter happened in Heaven but, Genesis 18 and Numbers 27 clearly show that traveling to Heaven was not necessary. I personally believe that the "sons of God" (believers including Job) came to worship(somewhere in the Middle East) and Satan (the Accuser of the Brethren) came too. He still does the same today when we pray, whether it be at home or on the church altar. Nobody "sees" God in the encounter.