The one-word term for being physically present in one place and mentally somewhere else is "distracted."