OS X Lion: App-Specific Resume
defaults write com.apple.Safari NSQuitAlwaysKeepsWindows -bool YES will enable it just for Safari.

Note that you can also temporarily toggle the behavior by holding ⌥ and choosing Safari → Quit And Keep Windows (or ⌘-⌥-Q).