This would require Alabama to offer those services or housing though, it's not so simple to just relocate people to other states.
SF does have a program that will help you travel back to Family in other states/cities, but I don't think they can just ship people to a lower cost location
I imagine there is some law that prevents SF from spending tax money in Alabama in that manner, but I don't see fundamentally why it wouldn't work. SF sets up satellite company in Alabama that administers the program, accepts the $1B minus whatever the bureaucrats normally shave off for their own corruption, and then administer the jobs training and housing along with industry partners except the money goes 2x or 3x as far.
Added bonus, those who are capable of getting back on their feet can actually afford to live there afterwards instead of endlessly cycling through welfare cliffs.
Yes, Scott Wiener made a law that basically made it illegal for SF to do business with almost every state in the US. Often using incorrect methods of determination for why.
SF does have a program that will help you travel back to Family in other states/cities, but I don't think they can just ship people to a lower cost location