The period you lived in it will be exempt - 6 years (72 months)
The last 12 months of ownership will be exempt (12 months)
Any other proportion of ownership will be taxable.
Say gain was €10,000 and sold in January 2010. (Totla ownership = 108 months)
Taxable gain would be €100,000 x 24/108 = €22,222 (less annual exemption).
Periods of absence due to employment are only exempt if you live in property both before and after the relevant period - so may not apply to you.