You can do this on local, against a second controller or a CPU, if you want to fight the CPU set it to "Very Easy". When you're in the match just spam
until the achievement pops, if you're playing against the CPU watch for your health, but you should have plenty of time. Don't press any other button while ducking , otherwise it will not count for the achievement!
Video for reference: