Let's try to parse:
где=where
бы=probability/subjunctive, so "где бы" becomes "wherever"
то=that/it
ни было="was not" with subjunctive means "is".
So it is something like "wherever it is"...