Rivalry or derby?

What constitutes one or the other? Geographical proximity? Faux loathing? Does it matter if you've never played each other?