Not mandatory but recommended. If you install vCenter Server in a workgroup rather than in a domain, you will not be able to use all functions (e.g. Linked Mode). In any case proper name resolution has to be ensured, either through a DNS server or manually using hosts files.
André