"Do any of the houses have the windows boarded up or the curtains allways closed? Could be one is being used to grow canabis?"
Nothing like a bit of reassurance, Colin!
But I'd second Cwatters' suspicion that the common roof space is a bit too common. From the purely practical aspect of fire safety, each separate roof space should be isolated from its neighbour to prevent the spread of fire along the terrace via the roof spaces. Some insurances assessors used to check for this and made it a condition of accepting the business.
Making the roof space air-tight enough to just stop the ingress of the smells won't be too hard using insulating board cut to fit the gaps and sealed into place with expanding foam, small gaps could be filled with just a judicious squirt of the stuff. But leave your eaves free of obstruction.
In fact, if your roof is as open as it sounds there should be a free flow of air across the roof space from the eaves, surely sufficient to give enough air changes to dissipate the cigarette smell? It's probably that which is clearing the smell overnight. But check that there is good ventilation at the eaves, with nothing blocking them (like insulation)!
Meanwhile, get some draught-excluder around your loft hatch. The self-adhesive p-strip type is the best in a situation where there isn't much weight to bear down to make a really good tight seal.
Incidentally, if you have put down insulation in your loft space, did you also think to insulate the loft hatch? If not, come back to find out how - and improve the seal on it!