No, Divine Sense cannot detect goblins in 5e. Goblins are classified as humanoids or goblinoids. Divine Sense can only detect celestial, fiends, or undead in 5e.