If using canless recessed lighting, then the lights can be placed independent of the positioning of rafters, plumbing, or electrical. Canned recessed lighting, on the other hand, does depend on wiring/plumbing/etc and can only be installed where space permits.