You do not need to be a U.S citizen to form a company. In fact, you don’t need a visa or a green card to start a new company whether it be a corporation or an LLC.
It is important to note that you cannot be a shareholder for an S-Corporation if you are not a U.S citizen.