être dans la lune

Etymology
lit. 'to be in the moon'.

Verb

 * 1)  to be lost in reveries; to be away with the fairies; to be daydreaming; to be in another world; to be distracted; to be absent-minded