Method and apparatus for nuclear magnetic resonance measuring while drilling