Will a shimano 10 speed road system work with an xtr 11-36t cassette?

You can use a 9 speed mtb derailleur with 10 speed road shifters. Will the shift gaps and chain be compatible with the cassette?