Yes, a team can sign a player who is not from their homegrown territory, but that player would not be considered a Homegrown Player which means they would not be exempt from the salary cap. Teams can sign players from anywhere in the world through various mechanisms, such as the MLS SuperDraft, international player signings, or trades.