Yes, if you were covered by a retirement plan at work in 2017 before you retired, you are considered as covered by a retirement plan at work (even if it was only for part of year).
**Say "Thanks" by clicking the thumb icon in a post. **Mark the post that answers your question by clicking on "Mark as Best Answer"