the bike needs to be level, because otherwise that's going to throw off your oil reading. it's the same reason why your car needs to be on a level surface when you check its oil.
if you have a center stand, that works fine, but a sidestand is going to make the bike lean, which will throw off your oil reading.
I think it depends on the bike so do whatever the manual says.