See https://turbotax.intuit.com/tax-tips/jobs-and-career/guide-to-irs-form-3903-moving-expenses/L6CwmGm3...