The smell of cigarette smoke tends to linger longer after the last embers are extinguished. It becomes ingrained into soft surfaces like carpeting and even becomes embedded into walls and your ceiling. Basic cleaning cannot fully remove the smell. You will need to deep clean the house or renovate it completely to remove the odor.