One of my books uses the phrase:
программист из чикаго (A programmer from Chicago)

but another book uses:
она из россии (she is from Russia)

So why do they use the genitive for россия but not for чикаго?