Remember, idioms are words, phrases, or expressions that can NOT be taken literally. Teachers really dont have eyes in the back of their heads. This expression, figuratively speaking, means the teacher knows whats going on even if her back is turned.