its 100x easier if you are local.
sublet a place in sf for 3 months, odds are you'll find a gig.
in order for companies to call an out of state fresh grad staying at home, you really need to stand out (great gpa, "hard programming" personal projects)