As a non-US citizen, opening a company in the US is not the hard part. The hard part is figuring out taxes and legal "configuration" in your own country, where you live. I'm not an expert, but I hear from accountants that you have to figure the thing out properly and you end up having an accountant for your company abroad and one for yourself. It might end up being too much expensive if it's for a bootstrapped startu…
That makes sense. After all you have assets abroad now, parts in a company. The company’s revenue will be taxed in the U.S., but if you pay yourself dividends these can also be taxed at home. Even if you don’t pay yourself anything, I imagine in most countries you have to disclose that you have assets abroad. That makes your individual tax returns more complicated—that being said, if you feel up to it you could still do them yourself of course.