Living or working abroad can affect your Incapacity Benefit claim. But you may be able to claim if you've either:
Paid enough UK national insurance contributions (NICs) in the past (and the equivalent in certain other countries - ask your local Jobcentre Plus office for details).
worked abroad for an employer based in the UK and paid NICs for the first 52 weeks of that employment.