Keeping Sudo Room in the loop in case anyone else would like this info...please pm me if you need to.

Is your friend in Oakland? Has she tried A Safe Place? They're in downtown and have capacity for 20 women + their children: http://www.asafeplacedvs.org/
Main number: 510.986.8600
Crisis line: 510.536.7233 (SAFE)

Here is a list of women's shelters in SF:
W.O.M.A.N., Inc. 415.864.4722
La Casa de Las Madres 415.503.0500
Asian Women's Shelter 415.751.7110
S.F. Dept. of Social Services (Adult Services Program) 415.557.5251

There's also this emergency housing directory for Alameda County: http://www.alamedaco.info/resource/tax_listall.cfm?sw=27471

Your friend may want to call 2-1-1 to speak with a live person if none of these are fruitful. Let me know if you have any questions!