NJ Transit only has so much railyard capacity in its system, and a lot of its operational trackage cuts through densely populated residential areas and/or is leased from Amtrak and other entities, so parking trains there would have been unsafe or impractical.