Walking, riding, driving, working out, washing dishes, doing laundry - these are tasks not at all harmed by listening to something while you do them, and indeed people have so alleviated their monotony since the commercialization of radio.
A task like programming is something else entirely, in terms of cognitive complexity, and attempting to partake simultaneously of something that requires attention to follow means one or the other probably isn't going to get done very well.
In a more programmer related parlance, you can't perform the most rigorous part of driving concurrently with paying attention to an audiobook, but you -can- task switch pretty easily. The driving is pre-emptive.
Except for the fact that you're operating a two-ton death machine.
Walking is much more interesting.