I recently moved to a new state leaving behind my house, my pets, and my husband for a job. It is very possible to get hired by a company far away, even though you don’t live there. You can increase your chances of getting hired by preparing your statement of interest in the company….show that you did some looking and that you think this job is a perfect fit. Speak to the difficulty in moving your life. Your employer will want to know that you are prepared to make the move to SF financially AND emotionally. The last thing they would want is to hire someone who moves to SF and then realizes they hate the culture or the weather or something and ends up quitting. If you are really into this job for the long haul, be ready to prove it. Best of luck!