macOS - Finder separator in Sierra
From the Finder, select Finder->Preferences (or press CMD-,) to access Finder preferences.
Click 'Sidebar' tab




There you can select which items appear in Favorites, Devices and other sections in the Finder sidebar. As far as I know you can't create additional separators within these sections, but you can drag/drop items in the sidebar to reorder them.