Yes, it is illegal — unless you get permission from Treyarch.
Perk-a-Cola is a trademarked and copyrighted property of the Call of Duty: Zombies franchise. Making a physical replica for yourself is one thing, but selling it is commercial use of someone else's intellectual property, and that is where the legal line sits.
The distinction is worth being precise about. Fan art and personal projects occupy a tolerated grey area that rights holders generally ignore. The moment money changes hands, you are trading on a brand you do not own, and that is exactly what trademark and copyright law exist to prevent.
If you genuinely want to sell something in this space, the route is to contact the rights holder and ask for a licence. Companies do grant them, particularly for small runs, but you need the permission before you sell rather than after.