If it is hot enuff. Alot of people including dealers use it around here. Temps are 115+f. here. I would say upper 90's - 100's and your good. If it is not that hot where you are I would stick with 10-40.
These aren't the old days and your bike doesn't have an air-cooled engine so the outside temps have very little to do with the viscosity of oil you use. The ambient temperature only really matters at startup and even then you always want a "thin" oil so it gets to the important parts of the engine as quickly as possible.
5w40 is the "thickest" oil you should ever use, imo.