There are no restrictions on foreigners owning businesses in Costa Rica. There are no residency requirements, as well.