You do not have to be in the US to buy shares. Most brokers will trade stocks on NASDAQ. Register with any broker in your country and it will most likely not be any problem at all. I cannot guide to towards what broker without knowing which country you reside in.