It's something that I'm still trying to force myself to do. I do know that I'm more productive away from the computer. But it's so tempting to just tweak, compile, test, iterate... I generally use pen and paper when I'm stuck and require deeper thinking.
Also, a lot of the work of a programmer consists in understanding existing code. You need the computer for that.