This question already has an answer here:
How to stop creating .DS_Store on Mac? [closed]
Open Terminal. Execute this command:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
Either restart the computer or log out and back in to the user account.
for more informations:
I don't believe you can- DS_Store is generated every time a folder is accessed in the Finder. So, if you really don't want it (or need to get rid of it for an archive or something similar), delete it using the command prompt and don't access the folder again with the Finder.