Connect both: yes, the easiest thing to do is to partition it with 2 different partitions; one for the PC and one for the mac, then mount the partition you want (the Windows machine won't even mount a mac formatted partition anyway).
Connect both at the same time: no.
To connect both at the same time, consider getting a network storage adapter.