Both are possible, and the locations may be different in BrE and AmE.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Anonymous walking on the street or in the streetThis usage differs between American and British English.