Yes! Rakshasas are fiends, so Divine Sense can detect them even if they are hiding with Minor Illusion, Invisibility, Disguise Self. or Major Image. Divine Sense won’t work on Rakshasas if they are Plane Shifting, however.