Original: While teaching physics at Princeton, O'Neill became interested in the possibility that humans could live in outer space.
Simplified: While he was teaching, O'Neill became excited about humans living in outer space.