One does sometimes read stories of animals finding their way home over even longer distances. I don't know how it works but one suggestion I've read is some sensitivity to the earth's magnetic fields.
Whatever, glad your catty friend is back, Raggy.