Hi Angliholic Yes, both are OK although I personally prefer 'separates'. I would not refer to a line of bushes or trees between two gardens or yards as a 'fence'. You might say that something like that "serves as a fence".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.