Every country has their own legislation and taxation rules. Often companies can have employees in other countries than where their company is established, of course having an registered company can give certain tax benefits but it's not always a hard requirement.