Yes, if you still owe federal tax from a previous year, your refund for 2017 will be seized for the amount you still owe. You do not have to enter anything about it on your tax return. The IRS knows and will do it automatically.
**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**