You can work from wherever you are, and you can change locations while working for 18F. But we don't provide money for relocation.
Another note that the federal pay scale is determined in part by your location. More details here https://www.opm.gov/policy-data-oversight/pay-leave/salaries...