The Title is "The Wrong Man" and the locations are:
5th Avenue subway station, New York City, New York, USA
City Prison, 1 Court Square, Queens, New York City, New York, USA
Edelweiss Park, Cornwall, New York, USA
Edison Studio, New York City, New York, USA
(studio)
Jackson Heights, Queens, New York City, New York, USA
Manhattan, New York City, New York, USA
New York City, New York, USA
Sanatorium, Greemont, New York, USA
Stork Club, 3East 53rd Street, New York City, New York, USA
Victor Moore Arcades, New York City, New York, USA
(insurance company sequences)
Warner Brothers Studios - 5800 Sunset Boulevard, Hollywood, Los Angeles, California, USA
(studio)
lol although you were probably just looking for "a real prison" when you mentioned location.