When you practice yoga exercise, you are NOT REQUIRED to stop smoking. But, in all fairness I want to mention that after you begin your practice, you might find you do not want to keep smoking.

Yoga stresses proper inhaling and exhaling and can improve your oxygen capacity. You might see the benefits and improvement are more obvious in other people who don’t smoke, and then decide to stop smoking yourself.
This is entirely a personal decision.