No, you don't have to use the possessive but there's a slight difference in meaning between the two forms. You need to work on your grammar. (= the grammar that you're using and that needs to be improved) You need to work on grammar.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.