ALL ROWS on sforce.connection.query() ?

Any reason that I can’t use ALL ROWS with sforce.connection.query?

I’m getting this error:

MALFORMED_QUERY: ALL ROWS not allowed in this context

Is there another way?