If you are foreign-domiciled, you must be represented at the USPTO by an attorney. If, on the other hand, you are domiciled in the United States, an attorney is highly recommended but not required.