Yes, attacks with Spiritual Weapon 5e use your spell attack bonus to hit. This includes your proficiency bonus plus your spellcasting ability modifier.