Sleeping Area

I am building a 5x8 Benroy and was wondering if the sleeping area needs to be the full 80" for a queen mattress? I am planning on using a memory foam mattress from Wal Mart. I would like to keep the galley as deep as possible.
Thanks, Wayne
Thanks, Wayne