スラングです。
元の意味は「間をあける / スペースをとる」です。
A: Stop spacing out! We are talking about very important things!
B: I am sorry. I was daydreaming.
A: ぼーっとするな!今重要なことを話してるよ?
B: ちょっと考え事をしていた。