It doesn't really matter which one you choose, however I would choose one and enforce that with .htaccess to prevent duplicate results in search engines and weird cross-domain cookie problems.
To force the www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
