If you’re drinking, the difference may not matter, but if you’re writing, prefer whiskey for the American and Irish and whisky for the rest (ditto for whiskeys and whiskies). Be warned that, while both spellings derive from the Gaelic uisge beatha (“water of life”), the wrong spelling may draw ire not only from picky readers but also from picky drinkers.