I‘m going to be installing attic insulation. I haven‘t decided on fiberglass or cellulose. I know I‘m supposed to use something fire resistant like vermiculite around the chimney flue. Do I need to take the same steps around electrical junction boxes and lighting fixtures in the ceiling?
Use Roxul Insulation. It is a noncombustible mineral wool insulation. It is approved for continuous use at 1200?F and melts at 2150?F and never catches fire. Other bonuses to Roxul are it is water repellent, does not sustain the growth of mold or mildew and will not lose R-value. This product has been in use since the 30's in Europe and is a proven product.
When living in an apartment or room that is not on the ground floor, you should consider getting a fire-escape rope that can be easily stored under your bed. That way if you can't escape through the door (because you would have to go through a whole burning house), you can still get out through the window. Also, make sure you've got the smoke detectors and have them tested regularly (at least once a year). Your fire department will sometimes offer this as a free service. Link shows a buying option for 2-story or 3-story rope ladders. There are a lot of options on-line.
Drewfuss is correct about the two types of recessed lighting fixtures, the junction boxes, and the baffles. I would add that non-insulation contact recessed lighting require airspace to prevent damage to the fixture, not primarily as a fire safety measure.