"You may not eat within your gates...and the firstborn of your cattle"—Deuteronomy 12:17.
It is forbidden for a priest to eat an unblemished firstborn animal outside of Jerusalem. In addition, it is forbidden for a non-priest to eat of a non-blemished firstborn animal, regardless of the location.