The rules provide that a "claimant who is not habitually resident in the United Kingdom . . . " is ineligible. This case establishes that "habitually" for the purpose includes consideration of the length of the claimant's residence as well as questions of the voluntariness of his/her presence and his/her long term intentions.
For main relevant notes see Immigration/social security (non EU) and see also notes on Collins v Secretary of State for Work and Pensions ECJ 2005 ICR 37, ECJ case C-138/02 on 23rd March 2004.