It’s technically a factor, but it’s probably the least important one. as @lopapo said, though, CSUs take it very seriously. I’ve seen people on these forums state that they got into UCLA and Berkeley but then get rejected by San Diego State University, presumably because they lived too far away from that campus.