Yes. The option exercise and the donation of shares are different transactions for tax purposes.

For more on exercising stock options and immediately donating the stock, see a related FAQ.