Important tip for apartment dwellers: Wash dishes promptly. Especially in the summer. I've found that it really cuts down on the infestation factor.
Now in truth, cockroaches don't seem to be the thing to worry about. Roaches are like David Bowie in the 21st century. They make occasional appearances, but mostly stick to themselves. Ants, on the other hand, are like Bowie in the seventies. They're everywhere, they have more ideas than they know what to do with, and they're totally high on coke.