Yes, you can easily switch, I often use Linux / Windows / OS X Yosemite for the same project.
Just open Android Studio and click "Open an existing Android Studio project" and point to your project.
To configure, you can go to File> Export Settings (in Android Studio for Windows), then to Android Studio for Mac> Import Settings.
source share