Deductions & credits

Now what if you moved to a new location for a job (say Boston to Charleston SC) worked for a year and then got laid off. So you move back to Boston. Does Moving back after you’ve been laid off count as a deductible?