Yes.

Copyright belongs to the author automatically upon creation.

Formal registration may be recommended in some cases.

External reference: U.S. Copyright Basics