It also depends on the type of smoke. Cigarette smoke, to me, can with some cleaning, and airing out, be gone in a very short while.
But, I once dated a woman that smoked those little cigar things? I don't remember what they were called. They were so bad that I could not sleep in the TT for a week after she had been smoking in there. I could eventually get rid of the smell but, it took some work and time. I told her no more smoking of those things in the TT or house
There are other things that people smoke too. I imagine that that smell could be different, and maybe difficult, to get rid of as well.