As it is Spanish territory, all residency and passport rules will be exactly the same as on the mainland in Spain. Anyone from EU with valid identity card can enter the islands without a passport. All other tourists from non-EU countries require a full valid passport.