It depends.
Green card holder? No.
Everyone else*: Yes.
* It's far more complicated and nuanced than this.