As suggested by Jason I put my comments into an answer. Hilbert's theorem means that all modules over $k[x_1,\ldots ,x_n]$ have projective dimension $\leq n$ -- one says that the _global dimension_ (aka homological dimension) of $k[x_1,\ldots ,x_n]$ is $n$. This is a property of the ring $k[x_1,\ldots ,x_n]$, it does not depend on the grading. It applies to many other rings: by a famous theorem of Serre, a local (commutative) ring has finite global dimension if and only if it is regular.