You can't, directly, but you can do it in two steps:
You can restrict resolutions by putting properties into the workflow - see https://confluence.atlassian.com/display/JIRA/Workflow+Properties
You can then use different workflows for different issue types (look up "workflow schemes" if you haven't already spotted them)
It's not that simple. Resolution is a system field, not something you code or modify in a simple add-on. It's use is endemic through the system and you can't simply replace it.
You may want to take a look at the following solution: http://confluence.kepler-rominfo.com/display/TR/Restricting+resolutions+based+on+issue+type
The resolutions are restricted based on issue type by means of the JJupin plugin and its Live Fields feature.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs