1. It is for two blocks from here.

2. It is for two stops from here.
3. It is for two miles from here.
4. It is for two kilometers from here.

(Are they all grammatical?)

Leave the word "for" out of all of them and they will be correct.