How should I list my affiliation?
A very similar question has a great answer to this.

TL;DR It is a fuzzy area without set rules, meaning you can decide your affiliation without some kind of penalty from the journal or your field. 

If you are still editing the paper once you enter the new institution it probably makes sense to use the current location. However if the paper was 90%+ completed at your former institution, whether the school or NASA-JPL, it's OK to use that as your affiliation.

I published a paper in 2014 that was 90% researched, analyzed, and written at one institution between 2010-2012, then underwent a journal review process for two years. I chose to use my current 2014 institution as my affiliation for the publication, but it would have still been acceptable to use the former one where most of the work had been completed.