Yes. It’s really that simple. Here’s a link to the IRS page that’s chock full of info.

PS – Spouses too.