Unfortunately it's not exposed in the UI, but:
defaults write com.apple.Finder _FXShowPosixPathInTitle -bool true