It's expensive to launch things out of a gravity well. So in the future, as we seek to manufacture things in space, it's worth exploring the possibility of harvesting them there as well.
In the interest of some degree of practicality, it seems to make sense to constrain the discussion to nitrogen that might be found within our solar system... maybe even especially close to Earth's orbit.
EDIT: To provide a little more practical context: one author (paper linked below) recently noted that Kevlar (which contains nitrogen) could maybe be used to construct the cable of a terrestrial space elevator if not for the prohibitive launch cost. So, I’m wondering how we might get around launching it out of earth’s gravity well. This was the train of thought that directly led to me asking the question. But the general discussion has been productive as well, IMO.
"[...] Additionally, although Kevlar was found to be strong enough to maintain reliability, its density remains prohibitively large to make it practical, given the massive volume of material which would need to be transported. On the other hand, carbon nanotubes already have the necessary strength, provided a repair mechanism can be incorporated to operate at higher working stress ratios.
Estimating the repair rates for carbon nanotubes remains an open question, contingent on the availability of data regarding their creep-rupture lifetime distribution, which has not yet been thoroughly studied to our knowledge"
From page 17 of https://arxiv.org/pdf/1804.06453.pdf (Building the Space Elevator: Lessons from Biological Design, Popescu/Sun, 2018)
EDIT 2 (5/18/20): In the interest of specificity, it seems like a wonderful idea to establish five particular regions of interest:
- Near-Earth space
- On the Moon
- Near-Mars space
- On Mars
- In the Asteroid Belt